<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>更新</title>
</head>
<body>
<form th:action="@{/updatecommit}" method="post">
    id：<input type="text" name="id" th:value="${id}" hidden="hidden"><br>
    用户名：<input type="text" name="name" th:value="${name}"><br>
    年龄：<input type="text" name="age" th:value="${age}"><br>
    <input type="submit" value="修改">
</form>
</body>
</html>